package com.boruan.qq.zxgylibrary.service.model;

import java.util.List;

/**
 * Created by 崔琦 on 2019/9/12.
 * des: 下单实体
 */

public class DownOrderBean {

    /**
     * errorCode : null
     * message : success
     * data : {"orderId":"2019091200041109","shopId":"2000000543","shopName":null,"shopImgUrl":null,"distance":"730","addressInfoVO":null,"freight":"300","paymentPrice":"106194","creditToMoney":"0","goodsTotalMoney":null,"paymentType":1,"createTime":"2019-09-12 09:18:54","cancelTime":null,"orderFinishTime":null,"state":null,"memo":"","paymentTime":null,"refund":null,"refundTime":null,"orderTime":null,"paid":null,"items":[],"whetherRefunds":null,"cancelReason":null,"orderDeliveryInfoList":null}
     * success : true
     */

    private String code;
    private String message;
    private ResultBean result;
    private boolean success;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean data) {
        this.result = data;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public static class ResultBean {
        /**
         * orderId : 2019091200041109
         * shopId : 2000000543
         * shopName : null
         * shopImgUrl : null
         * distance : 730
         * addressInfoVO : null
         * freight : 300
         * paymentPrice : 106194
         * creditToMoney : 0
         * goodsTotalMoney : null
         * paymentType : 1
         * createTime : 2019-09-12 09:18:54
         * cancelTime : null
         * orderFinishTime : null
         * state : null
         * memo :
         * paymentTime : null
         * refund : null
         * refundTime : null
         * orderTime : null
         * paid : null
         * items : []
         * whetherRefunds : null
         * cancelReason : null
         * orderDeliveryInfoList : null
         */

        private String orderId;
        private String shopId;
        private Object shopName;
        private Object shopImgUrl;
        private String distance;
        private Object addressInfoVO;
        private String freight;
        private String paymentPrice;
        private String creditToMoney;
        private Object goodsTotalMoney;
        private int paymentType;
        private String createTime;
        private Object cancelTime;
        private Object orderFinishTime;
        private Object state;
        private String memo;
        private Object paymentTime;
        private Object refund;
        private Object refundTime;
        private Object orderTime;
        private Object paid;
        private Object whetherRefunds;
        private Object cancelReason;
        private Object orderDeliveryInfoList;
        private List<?> items;

        public String getOrderId() {
            return orderId;
        }

        public void setOrderId(String orderId) {
            this.orderId = orderId;
        }

        public String getShopId() {
            return shopId;
        }

        public void setShopId(String shopId) {
            this.shopId = shopId;
        }

        public Object getShopName() {
            return shopName;
        }

        public void setShopName(Object shopName) {
            this.shopName = shopName;
        }

        public Object getShopImgUrl() {
            return shopImgUrl;
        }

        public void setShopImgUrl(Object shopImgUrl) {
            this.shopImgUrl = shopImgUrl;
        }

        public String getDistance() {
            return distance;
        }

        public void setDistance(String distance) {
            this.distance = distance;
        }

        public Object getAddressInfoVO() {
            return addressInfoVO;
        }

        public void setAddressInfoVO(Object addressInfoVO) {
            this.addressInfoVO = addressInfoVO;
        }

        public String getFreight() {
            return freight;
        }

        public void setFreight(String freight) {
            this.freight = freight;
        }

        public String getPaymentPrice() {
            return paymentPrice;
        }

        public void setPaymentPrice(String paymentPrice) {
            this.paymentPrice = paymentPrice;
        }

        public String getCreditToMoney() {
            return creditToMoney;
        }

        public void setCreditToMoney(String creditToMoney) {
            this.creditToMoney = creditToMoney;
        }

        public Object getGoodsTotalMoney() {
            return goodsTotalMoney;
        }

        public void setGoodsTotalMoney(Object goodsTotalMoney) {
            this.goodsTotalMoney = goodsTotalMoney;
        }

        public int getPaymentType() {
            return paymentType;
        }

        public void setPaymentType(int paymentType) {
            this.paymentType = paymentType;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public Object getCancelTime() {
            return cancelTime;
        }

        public void setCancelTime(Object cancelTime) {
            this.cancelTime = cancelTime;
        }

        public Object getOrderFinishTime() {
            return orderFinishTime;
        }

        public void setOrderFinishTime(Object orderFinishTime) {
            this.orderFinishTime = orderFinishTime;
        }

        public Object getState() {
            return state;
        }

        public void setState(Object state) {
            this.state = state;
        }

        public String getMemo() {
            return memo;
        }

        public void setMemo(String memo) {
            this.memo = memo;
        }

        public Object getPaymentTime() {
            return paymentTime;
        }

        public void setPaymentTime(Object paymentTime) {
            this.paymentTime = paymentTime;
        }

        public Object getRefund() {
            return refund;
        }

        public void setRefund(Object refund) {
            this.refund = refund;
        }

        public Object getRefundTime() {
            return refundTime;
        }

        public void setRefundTime(Object refundTime) {
            this.refundTime = refundTime;
        }

        public Object getOrderTime() {
            return orderTime;
        }

        public void setOrderTime(Object orderTime) {
            this.orderTime = orderTime;
        }

        public Object getPaid() {
            return paid;
        }

        public void setPaid(Object paid) {
            this.paid = paid;
        }

        public Object getWhetherRefunds() {
            return whetherRefunds;
        }

        public void setWhetherRefunds(Object whetherRefunds) {
            this.whetherRefunds = whetherRefunds;
        }

        public Object getCancelReason() {
            return cancelReason;
        }

        public void setCancelReason(Object cancelReason) {
            this.cancelReason = cancelReason;
        }

        public Object getOrderDeliveryInfoList() {
            return orderDeliveryInfoList;
        }

        public void setOrderDeliveryInfoList(Object orderDeliveryInfoList) {
            this.orderDeliveryInfoList = orderDeliveryInfoList;
        }

        public List<?> getItems() {
            return items;
        }

        public void setItems(List<?> items) {
            this.items = items;
        }
    }
}
